home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" ?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="html" />
- <!-- main template begins -->
- <xsl:template match="/">
- <HEAD>
- <LINK REL="StyleSheet" TYPE="text/css" HREF="elib.css"></LINK>
- <TITLE>eLibPro Book Information</TITLE>
- </HEAD>
- <BODY leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
- <xsl:apply-templates />
- </BODY>
- </xsl:template>
- <!-- template for individual book begins -->
- <xsl:template match="Book">
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <td><b>
- <xsl:number format=" 1. "/></b>
- <xsl:value-of select="Author" /><xsl:text>, </xsl:text>
- <b><xsl:value-of select="Title" /></b>
- <xsl:if test="Subtitle!=''">
- <xsl:text> - </xsl:text>
- <xsl:value-of select="Subtitle" />
- </xsl:if>
- <xsl:text>, ISBN: </xsl:text>
- <xsl:value-of select="ISBN" />
- <xsl:if test="ReleaseDate!=''"> (<xsl:value-of select="ReleaseDate" />)
- </xsl:if>
- </td>
- </tr>
- </table>
- </xsl:template>
- </xsl:stylesheet>
-